﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="BSCMFF.Web.Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<telerik:RadUpload ID="RadUploadCSV" runat="server" AllowedFileExtensions="csv" >
    </telerik:RadUpload>
<asp:Button ID="BUttonImportUsers" runat="server" Text="Import Users" 
        onclick="BUttonImportUsers_Click"  />
    
    <telerik:RadGrid ID="g" runat="server">
        <MasterTableView AutoGenerateColumns="true" >
        </MasterTableView>
    </telerik:RadGrid>



    <telerik:RadTextBox ID="rrrrrrrrr" runat="server" Text="tralala" > </telerik:RadTextBox>

<asp:Button runat="server" ID="log" Text="login" OnClick="log_click" />
    <asp:LoginView ID="lv" runat="server">
        <AnonymousTemplate>
            <asp:Label ID="lab" runat="server" Text="anonymny" ></asp:Label>
        </AnonymousTemplate>
        <RoleGroups>
            <asp:RoleGroup Roles="Administrator" >
                <ContentTemplate>
                    <asp:Label ID="labadmin" runat="server" Text="Si " ></asp:Label>
                </ContentTemplate>
            </asp:RoleGroup>
            
        </RoleGroups>
        <%--<LoggedInTemplate>
            <asp:Label ID="labloged" runat="server" Text="si zalogovany" ></asp:Label>
            <asp:LoginName ID="lname" runat="server" />
        </LoggedInTemplate>--%>
    </asp:LoginView>
    <asp:Label ID="lRole" runat="server" ></asp:Label>

    

  <%--  <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">--%>

        
       <%-- <telerik:RadTreeView ID="RadTreeView2" runat="server" DataFieldID="ID" 
            DataFieldParentID="Superior_ID" DataSourceID="EntityDataSourceEmployees" 
            DataTextField="Fullname">
        </telerik:RadTreeView>--%>
        
       <%--<asp:Label ID="l" runat="server" Text='<%# RadTreeView1.SelectedValue %>'></asp:Label>--%>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1"
            runat="server" Skin="Default">
        </telerik:RadAjaxLoadingPanel>
        <asp:EntityDataSource ID="EntityDataSourceEmployees" runat="server" 
            ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
            EnableFlattening="False" EntitySetName="Users" 
            Select="it.[ID], it.[Login], it.[Superior_ID], it.[Contact_FK], it.[Role_FK]">
        </asp:EntityDataSource>
        


   <%-- </telerik:RadAjaxPanel>--%>

   <asp:Label ID="jazyk" runat="server" Text="<%$ Resources:Labels, jazyk %>"></asp:Label>
     <br />
    <asp:Label ID="info" runat="server" Text="info: "></asp:Label>
   <br />
  <%-- <asp:Button ID="bjazyk" runat="server" Text="slovak" onclick="bjazyk_Click1" />

   <asp:Button ID="bjazyk1" runat="server" Text="english" onclick="bjazyk1_Click1" />--%>

    

</asp:Content>
